package com.haoan.index.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.annotations.ApiParam;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.haoan.common.annotation.Excel;
import com.haoan.index.base.BaseEntity;

/**
 * 留言对象 lc_leave_word
 *
 * @author autoGen
 * @date 2025-03-20
 */
@Data
@Schema(description = "留言")
@TableName("lc_leave_word")
public class LcLeaveWord extends BaseEntity implements Serializable
        {
private static final long serialVersionUID=1L;

    /** id */
    @TableId(value = "id", type = IdType.AUTO)
    @Schema(description = "PK_lc_leave_word")
    @ApiParam(name = "id",value = "PK_lc_leave_word")
    private Long id;

    /** 你的姓名 */
    @Schema(description = "留言-你的姓名")
    @ApiParam(name = "name",value = "留言-你的姓名")
    @Excel(name = "你的姓名")
    @TableField(value = "`name`")
    private String name;

    /** 公司名称 */
    @Schema(description = "留言-公司名称")
    @ApiParam(name = "company",value = "留言-公司名称")
    @Excel(name = "公司名称")
    @TableField(value = "`company`")
    private String company;

    /** 您的电话 */
    @Schema(description = "留言-您的电话")
    @ApiParam(name = "phone",value = "留言-您的电话")
    @Excel(name = "您的电话")
    @TableField(value = "`phone`")
    private String phone;

    /** 您的需求 */
    @Schema(description = "留言-您的需求")
    @ApiParam(name = "demand",value = "留言-您的需求")
    @Excel(name = "您的需求")
    @TableField(value = "`demand`")
    private String demand;

    /** 留言时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Schema(description = "留言-留言时间")
    @ApiParam(name = "time",value = "留言-留言时间")
    @Excel(name = "留言时间" , width = 30, dateFormat = "yyyy-MM-dd")
    @TableField(value = "`time`")
    private Date time;


        }

